.plugin-site-network {
	padding: 8px;
	margin: 0;

	.foldable-card__main {
		display: block;
	}

	&.is-compact .foldable-card__header {
		padding: 16px;
	}

	&.foldable-card.is-expanded .foldable-card__content {
		padding: 16px 16px 0px 16px;
	}

	&.has-manage-error .foldable-card__action {
		width: inherit;
	}

	&.has-manage-error {
		.foldable-card__action {
			width: 100%;
		}
	}

	.plugin-site__activate-manage {
		position: absolute;
			right: 0;
			top: 0;
		margin: 8px;
		height: 32px;
		display: flex;
		align-items: center;

		button {
			line-height: 32px;
			margin-top: 0;
		}
	}

	.plugin-action {
		padding: 8px;
	}

	.all-sites-icon {
		display: inline-block;
		margin: 0;
	}

	.plugin-install-button__install {
		top: 12px;
	}
}

.plugin-site-network__secondary-site.card.is-compact {
	padding: 16px 0;
	box-shadow: none;
	border-top: 1px solid $gray-light;

	.site__info {
		width: auto;
	}

	.site__content {
		padding: 0;
	}
}

.plugin-site-network__secondary-site-actions {
	position: absolute;
		right: 0;
		top: 0;
	height: 56px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-end;

	.plugin-site-disabled-manage {
		right: 8px;
	}
}

.plugin-site-network__network_disabled {
	width: 100%;
	height: 32px;
	display: flex;
	position: relative;
		top: 16px;
		right: 8px;

	.plugin-site-disabled-manage {
		right: 8px;
		display: flex;
		justify-content: space-between;
	}

	.plugin-site-disabled-manage__label {
		line-height: 1.6;
	}
}

.plugin-site__secondary-sites {
	padding-top: 16px;
}

.plugin-site-network__header_info {
		display: inline-block;
}

.foldable-card__action .plugin-site-network__network_disabled .plugin-site-disabled-manage {
	position: relative;
	line-height: 32px;
}

.plugin-site-network .all-sites {
	width: auto;
	display: block;
	margin: -16px auto -16px -16px;
}
